package com.example.bond_svc.model;

import lombok.Data;
import jakarta.validation.constraints.*;

@Data
public class BidRequest {
    @NotBlank(message = "投标方ID不能为空")
    private String bidderId;

    @Positive(message = "价格必须大于0")
    @NotNull
    private Double price;

    @Min(value = 100, message = "数量至少100万")
    private Integer quantity;
}